package org.ushio.nchu_22201408.Feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.ushio.common_module.entity.BusinessInformation;

@FeignClient(name = "nchu-22201406")
public interface BusinessInformationClient {
    @GetMapping(value="/business-information/by-phone-number")
    ResponseEntity<BusinessInformation> getBusinessInformationByPhoneNumber(@RequestParam(value="phoneNumber") String phoneNumber);
}